package cn.gok.springsecuritydemo01.contoller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author: chen fan
 * @since: 2022/11/17 16:41
 * @description:
 */
@Controller
public class LoginController {


    @RequestMapping("/toSuccessPage")
    public String toSuccessPage(){
        return "success";
    }

    @RequestMapping("/toFailPage")
    public String toFailPage(){
        return "fail";
    }


    @RequestMapping("/toLoginPage")
    public String toLoginPage(){
        return "login";
    }
}
